package com.cnhis.drgs.core.model;

public class Column {
    private String table_schema;
    private String table_name;
    private String column_name;
    private String column_key;// PRI
    private String extra;// auto_increment
    private String column_type;// varchar(50)
    private String data_type;// varchar
    private Integer len; // may be is null,eg:decimal(18,2)
    private String column_comment;// 字段说明
    private String is_nullable;// 字段是否可以为空 NO/YES

    public String getIs_nullable() {
        return is_nullable;
    }

    public void setIs_nullable(String isNullable) {
        is_nullable = isNullable;
    }

    public String getColumn_comment() {
        return column_comment;
    }

    public void setColumn_comment(String columnComment) {
        column_comment = columnComment;
    }

    public String getTable_schema() {
        return table_schema;
    }

    public void setTable_schema(String tableSchema) {
        table_schema = tableSchema;
    }

    public String getTable_name() {
        return table_name;
    }

    public void setTable_name(String table_name) {
        this.table_name = table_name;
    }

    public String getColumn_name() {
        return column_name;
    }

    public void setColumn_name(String column_name) {
        this.column_name = column_name;
    }

    public String getColumn_key() {
        return column_key;
    }

    public void setColumn_key(String column_key) {
        this.column_key = column_key;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getColumn_type() {
        return column_type;
    }

    public void setColumn_type(String column_type) {
        this.column_type = column_type;
    }

    public String getData_type() {
        return data_type;
    }

    public void setData_type(String dataType) {
        data_type = dataType;
    }

    public Integer getLen() {
        return len;
    }

    public void setLen(Integer len) {
        this.len = len;
    }
}
